* {
	list-style: none;
	margin: 0; padding: 0;
}
h1,h2,h3,h4,p {
	line-height: normal;
}
a, a:hover, a:focus { text-decoration: none; }
ul, li {
	margin: 0; padding: 0;
}
html, body {
	width: 100%;
	overflow-x: hidden;
}
.wrapper {
	width: 100%;
	max-width: 1020px;
	margin: 0 auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
@media (max-width: 1040px) {
	.wrapper {
		padding: 0 10px;		
	}
}

input[type="text"] {
	font-family: "Roboto Slab";
	font-weight: normal;
}
/*=====================================*/
.main-menu {
	position: fixed; overflow: hidden;
	visibility: hidden; z-index: -1;
	width: 100%; height: 100%;	
	transition: all 0.2s ease-in 0.3s;
	-o-transition: all 0.2s ease-in 0.3s;
	-moz-transition: all 0.2s ease-in 0.3s;
	-webkit-transition: all 0.2s ease-in 0.3s;
}
.main-menu.show {
	visibility: visible; z-index: 10;
	background: rgba(0,0,0,.5);
	transition: all 0s;
	-o-transition: all 0s;
	-moz-transition: all 0s;
	-webkit-transition: all 0s;	
}

.main-menu .category-menu {
	background: #222; /*opacity: 0;*/
	position: absolute; 
	top: 0; left: 0; 
	width: 220px; height: 100%;
	padding: 3px 10px 30px; max-width: 0;
	overflow-x: hidden;

	transition: max-width 0.4s linear, opacity 0s ease 0.4s;
	-o-transition: max-width 0.4s linear, opacity 0s ease 0.4s;
	-moz-transition: max-width 0.4s linear, opacity 0s ease 0.4s;
	-webkit-transition: max-width 0.4s linear, opacity 0s ease 0.4s;

	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.main-menu.show .category-menu {
	max-width: 220px; /*opacity: 1; */
	transition: max-width 0.4s lineear;
	-o-transition: max-width 0.4s lineear;
	-moz-transition: max-width 0.4s lineear;
	-webkit-transition: max-width 0.4s lineear;
}
.main-menu .category-menu > * {
	opacity: 0; visibility: hidden;
}
.main-menu.show .category-menu > * {
	opacity: 1; visibility: visible;	
	transition: all 0s ease-in 0.5s;
	-o-transition: all 0s ease-in 0.5s;
	-moz-transition: all 0s ease-in 0.5s;
	-webkit-transition: all 0s ease-in 0.5s;
}

.main-menu .category-menu .fr-search {
	width: 100%;
	display: block;
	padding: 0; position: relative;
}
.main-menu .category-menu .fr-search input {
	height: 24px; margin-top: 3px;
	padding-right: 20px; width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.main-menu .category-menu .fr-search button {
	width: 0; height: 0; border: 0; float: left;
}
.main-menu .category-menu .fr-search i.fa-search {
	position: absolute; top: 4px; right: 5px;
	color: #999;
}

.main-menu .category-menu .block p.titl {
	color: #eee; text-align: center;
	padding: 0px 0 10px;
	border-bottom: 1px solid #999;
	cursor: pointer;

	transition: padding-left 0.3s;
	-o-transition: padding-left 0.3s;
	-moz-transition: padding-left 0.3s;
	-webkit-transition: padding-left 0.3s;
}
.main-menu .category-menu .block p.titl:hover {
	padding-left: 15px;
}
.main-menu .category-menu .block p.titl i.fa {
	display: block; float: left; margin-top: 4px;
	font-size: 12px; color: #999;
}
.main-menu .category-menu .block:not(:first-child) {
	margin-top: 10px;
}
.main-menu .category-menu .menu {
	/*margin-left: 10px;*/
}
.main-menu .category-menu .menu > li {
	padding: 5px 0;
	border-bottom: 1px solid #444;
}
.main-menu .category-menu .menu > li > span {
	color: #666; font-weight: bold; text-align: right;
	display: block;
}
.main-menu .category-menu .menu li a {
	color: #ccc; padding: 5px 0; display: block;
	text-decoration: none;
}
.main-menu .category-menu .menu li a:after {
	content: ''; display: block;
	background: #96281B; border: 1px solid #999;
	border-radius: 50%; 
	-moz-border-radius: 50%; 
	-webkit-border-radius: 50%; 

	float: right; margin-top: 4px;
	width: 5px; height: 5px; 

	transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-webkit-transition: all 0.2s ease-out;
}
.main-menu .category-menu .menu li a:hover {
	padding-left: 10px; color: #fff;
	font-weight: bold;
	transition: padding 0.2s ease-out;
	-o-transition: padding 0.2s ease-out;
	-moz-transition: padding 0.2s ease-out;
	-webkit-transition: padding 0.2s ease-out;
}
.main-menu .category-menu .menu li a:hover:after {
	background: red; border: 1px solid #fff;
	width: 8px; height: 8px;
}
.main-menu .category-menu .menu > li > ul > li > a {
	margin-left: 20px;
}
/* ================================================================================== */
/* ================================================================================== */

#topbar {
	background: #222; line-height: 35px;
	height: 35px; width: 100%;
	position: fixed; z-index: 10;
	top: 0; left: 0;
	transition: left 0.4s linear;
	-o-transition: left 0.4s linear;
	-moz-transition: left 0.4s linear;
	-webkit-transition: left 0.4s linear;
}
#topbar .wrapper { position: relative; }
#topbar.hide-left {
	left: 220px;
	transition: left 0.4s linear;
	-o-transition: left 0.4s linear;
	-moz-transition: left 0.4s linear;
	-webkit-transition: left 0.4s linear;
}
#topbar.hide-left .wrapper {
	padding: 0 10px;
	/*max-width: none;*/
	margin-left: 0;
}

#user-button,
#menu-button {
	cursor: pointer; font-size: 20px; display: none;
}
#user-button { 
	position: absolute; 
	top: 0px; right: 5px;
	display: block;
}
#topbar a {
	color: #ccc;
	transition: padding 0.2s ease-out;
	-o-transition: padding 0.2s ease-out;
	-moz-transition: padding 0.2s ease-out;
	-webkit-transition: padding 0.2s ease-out;
}
#topbar a:hover {
	color: #fff; font-weight: bold;
}

#topbar .user-group {
	position: absolute;
	top: 40px; right: -5px;
	background: #222; 
	width: 180px; padding: 10px;	
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	display: none;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
@media (max-width: 1040px) {
	#topbar .user-group {
		right: 5px;
	}
}
#topbar .user-group.show {
	display: block;
}
#topbar .user-group:after {
	content: ''; display: block;
	position: absolute;
	width: 0; height: 0;
	border-bottom: 5px solid #222;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	right: 8px; top: -5px;
}
#topbar .user-group ul li:not(:last-child) {
	border-bottom: 1px solid #666;
}
#topbar .user-group ul li a {
	font-size: 12px; display: block;
	height: 100%; padding: 8px 0;
}
#topbar .user-group ul li a:hover,
#topbar .user-group ul li a:focus {
	padding-left: 10px;
}
#topbar .user-group ul li i.fa {
	float: right; margin-right: 5px;
	margin-top: 2px;
	font-size: 15px;
}

#topbar .navigation {
	float: left;
}
#topbar .navigation > li {
	float: left; display: block;
	border-right: 1px solid #444;
	position: relative;
	white-space: nowrap;
}
#topbar .navigation > li a {
	display: block; height: 100%;
	padding: 0 20px;
}
#topbar .navigation > li > a {
	text-align: center;
}
#topbar .navigation li .sub {
	position: absolute;
	top: 40px; left: 0;
	background: #222; 
	min-width: 180px; padding: 10px;	
	max-height: 0; /*overflow: hidden;*/
	visibility: hidden;	opacity: 0;

	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;

	transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	-ms-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-webkit-transition: all 0.4s linear;
}
#topbar .navigation > li .sub .heading {
	color: #777;
}
#topbar .navigation .sub:before {
	content: ""; display: block;
	opacity: 0; width: 100%;
	top: -5px; height: 5px;
	left: 0; position: absolute;
}
#topbar .navigation .sub:after {
	content: ''; display: block;
	position: absolute;
	width: 0; height: 0;
	border-bottom: 5px solid #222;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	left: 35px; top: -5px;
}
#topbar .navigation li:hover .sub {
	visibility: visible;
	max-height: 500px;
	opacity: 1;
}
#topbar .navigation hr {
	margin-top: 5px; margin-bottom: 5px;
}
/* ================================================================================== */
/* ================================================================================== */

.main-page { 
	width: 100%; 
	margin-top: 35px; padding-left: 0;
	transition: padding-left 0.4s linear;
	-o-transition: padding-left 0.4s linear;
	-moz-transition: padding-left 0.4s linear;
	-webkit-transition: padding-left 0.4s linear;
}
.main-page.hide-left {
	padding-left: 220px;
	transition: padding-left 0.4s linear;
	-o-transition: padding-left 0.4s linear;
	-moz-transition: padding-left 0.4s linear;
	-webkit-transition: padding-left 0.4s linear;
}
.main-page.hide-left .wrapper {
	margin: 0 10px;
}
.main-page #main-content {
	width: 100%;
}
/* ================================================================================== */
.page-titl, .page-title {
	padding: 20px 0;
}

.ng-hide-add, .ng-hide-remove {
    /* ensure visibility during the transition */
    display: block !important; /* yes, important */
}
.main-page .loading {
	opacity: 1;
	position: fixed;
	width: 100%; height: 100%;
	background: #F4EEB4;
	/*margin-left: 0;*/
	webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.main-page .loading.ng-hide {
	opacity: 0;
	/*margin-left: 1500px;*/
}

.main-page .loading .gauge {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);

	webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.main-page .loading.ng-hide .gauge {
	left: 2000px;
}

#main-content.ng-enter {
	opacity: 0;
	/*margin-left: 1500px;*/
	/*webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;*/
}
#main-content.ng-enter-active {
	opacity: 1;
	/*margin-left: 0;*/
}
#main-content.ng-leave {
	opacity: 0;
	/*margin-left: 0;*/
	/*webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;*/
}
#main-content.ng-leave-active {
	opacity: 1;
	/*margin-left: -1500px;*/
}
/*=============================================================================================*/
/*=============================================================================================*/
/*.content .left-col*/


/*=============================================================================================*/
/*=============================================================================================*/
/*=============================================================================================*/
/*=============================================================================================*/

.lesson-list {
	padding: 10px;
}
.lesson-list li {
	width: 22%;
	background: url(../images/list-item-bkg.jpg);
	background-size: 100% 100%;
	height: 100px; float: left; 
	display: block; padding: 10px;
	border-radius: 10px;
	margin-bottom: 20px;
	box-sizing: border-box;
	-o-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	height: 30px;
	transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	-moz-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
}
.lesson-list li:not(:nth-child(4n)) {
	margin-right: 4%;
}
@media (max-width: 850px) {
	.lesson-list li { width: 30%; }
	.lesson-list li:not(:nth-child(4n)) { margin-right: 0; }
	.lesson-list li:not(:nth-child(3n)) { margin-right: 5%;	}
}
@media (max-width: 600px) {
	.lesson-list li { width: 45%; }
	.lesson-list li:not(:nth-child(3n)) { margin-right: 0; }
	.lesson-list li:not(:nth-child(2n)) { margin-right: 10%; }
}
@media (max-width: 360px) {
	.lesson-list li { width: 100%; margin-right: 0}
}

.lesson-list li.ng-leave-active {
	width: 0;
}
.lesson-list li a {
	display: block;
	width: 100%; height: 100%;
	color: #fff; font-size: 15px;
	/*font-weight: bold;*/
	position: relative;
	text-align: center;
}
.lesson-list li a .title {
	display: block; position: absolute;
	top: 50%; left: 0; width: 100%;
	color: #ccc;
	transform: translate(0, -50%);
	-o-transform: translate(0, -50%);
	-moz-transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);	
	transition: all 0.3s ease-in;
	-o-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	-webkit-transition: all 0.3s ease-in;
}
.lesson-list li a .glyphicon {
	display: block; position: absolute;
	bottom: 2px; left: 5px; top: auto;
	color: #999;
	transition: all 0.4s linear;
	-o-transition: all 0.4s linear;
	-moz-transition: all 0.4s linear;
	-webkit-transition: all 0.4s linear;
}
.lesson-list li a:hover .title {
	color: #fff; top: 40%;
}
.lesson-list li a:hover .glyphicon {
	color: #F1C40F; left: 40px;
}
